package com.yunhe.rentcars.pro.entity.car;

import com.yunhe.rentcars.commons.constant.Constants;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author maliang
 * @version V1.0
 * @date 2017/11/27 0027 13:30
 * @Description: 车辆年检实体
 */
public class CarSelfuse {
    private Long recordId; // 记录编号
    private String carCode; // 车牌号
    private Double initMile;// 发车里程
    private Double initOil;// 发车油量
    private String noticeItem; // 使用事由
    private String useMan; // 使用人
    private String userPhone; // 使用人
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date usecarTime; // 出车时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date predTime; // 预计还车时间
    private String headMan; // 经办人员
    private String headMobile; // 经办手机
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date returnTime; // 还车时间
    private Double returnMile; // 还车里程
    private Double returnOil; // 还车油量
    private String remark; // 备注信息
    private Integer status = Constants.CAR_IN_SELFUSE; // 状态 4：自用 0：正常
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime; // 添加时间

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public String getCarCode() {
        return carCode;
    }

    public void setCarCode(String carCode) {
        this.carCode = carCode;
    }

    public Double getInitMile() {
        return initMile;
    }

    public void setInitMile(Double initMile) {
        this.initMile = initMile;
    }

    public Double getInitOil() {
        return initOil;
    }

    public void setInitOil(Double initOil) {
        this.initOil = initOil;
    }

    public String getNoticeItem() {
        return noticeItem;
    }

    public void setNoticeItem(String noticeItem) {
        this.noticeItem = noticeItem;
    }

    public String getUseMan() {
        return useMan;
    }

    public void setUseMan(String useMan) {
        this.useMan = useMan;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Date getUsecarTime() {
        return usecarTime;
    }

    public void setUsecarTime(Date usecarTime) {
        this.usecarTime = usecarTime;
    }

    public Date getPredTime() {
        return predTime;
    }

    public void setPredTime(Date predTime) {
        this.predTime = predTime;
    }

    public String getHeadMan() {
        return headMan;
    }

    public void setHeadMan(String headMan) {
        this.headMan = headMan;
    }

    public String getHeadMobile() {
        return headMobile;
    }

    public void setHeadMobile(String headMobile) {
        this.headMobile = headMobile;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }

    public Double getReturnMile() {
        return returnMile;
    }

    public void setReturnMile(Double returnMile) {
        this.returnMile = returnMile;
    }

    public Double getReturnOil() {
        return returnOil;
    }

    public void setReturnOil(Double returnOil) {
        this.returnOil = returnOil;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}
